home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
puts.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-01
|
294b
|
19 lines
/* from Dale Schumacher's dLibs */
#include <stdio.h>
#include <stddef.h>
#include <assert.h>
int
puts(data)
const char *data;
{
register int n;
assert((data != NULL));
if (((n = fputs(data, stdout)) == EOF)
|| (fputc('\n', stdout) == EOF))
return (EOF);
return (++n);
}